import {
    faPencilAlt,
    faArrowRight,
    faRobot,
    faTools,
    faSitemap,
    faGlobe
  } from '@fortawesome/free-solid-svg-icons';
  
  export const TYPE_ICONS = {
    'input': faPencilAlt,
    '输入型': faPencilAlt,
    'output': faArrowRight,
    '输出型': faArrowRight,
    'llm': faRobot  ,
    '对话型': faRobot,
    'http': faGlobe,
    '网络型': faGlobe,
    '工具型': faTools,
    'default': faSitemap
  };
  
  export const getIconByType = (type) => {
    return TYPE_ICONS[type] || TYPE_ICONS.default;
  };